import http from '@/service/http'
import type { IGetApplyParams, IApprovalParams } from './types'

const ApplyApi = {
  getApplyList() {
    return http.get('/api/web/admin/applyList')
  },
  approvalApply(params: IApprovalParams) {
    return http.post('/api/web/admin/approval', params)
  }
}

export default ApplyApi
